package com.itheima.wms.service;

import com.itheima.wms.pojo.PageWareHouse;
import com.itheima.wms.pojo.WmsArea;
import com.itheima.wms.utils.PageBean;

import java.util.List;

public interface WareHouseService {
    /**
     * 分页查询
     */
    PageBean<WmsArea> queryFactoryAll(PageWareHouse pageWareHouse);

    /**
     * 新增库区
     * @param wmsArea
     */
    void addWareHouse(WmsArea wmsArea);

    /**
     * 修改前回显
     */
    WmsArea queryWareHouseById(Integer id);

    void updateWareHouse(WmsArea wmsArea);

    void deleteWareHouse(List<Long> ids);
}
